home *** CD-ROM | disk | FTP | other *** search
/ American History: Interactive Maps & User's Guide / American History: Interactive Maps & User's Guide.iso / pc / Pref.dxr / 00006.ls < prev    next >
Encoding:
Text File  |  2000-01-25  |  625 b   |  21 lines

  1. on exitFrame
  2.   global gLanguagePref, gSystemVolumeLevel, gVdPort, gVdPlayer
  3.   repeat with counter = 7 to 8
  4.     puppetSprite(counter, 1)
  5.   end repeat
  6.   puppetSprite(13, 1)
  7.   puppetSprite(14, 1)
  8.   set the memberNum of sprite 7 to member "soundbutton"
  9.   set the memberNum of sprite 8 to member "sliderbutton"
  10.   if gSystemVolumeLevel = 0 then
  11.     set the locV of sprite 7 to 124
  12.     set the locH of sprite 8 to 96
  13.   else
  14.     set the locV of sprite 7 to 102
  15.     set the locH of sprite 8 to (gSystemVolumeLevel / 255.0 * 210.0) + 96.0
  16.   end if
  17.   set the locH of sprite 7 to 46
  18.   set the locV of sprite 8 to 171
  19.   updateStage()
  20. end
  21.